package com.vito.oa.email.sign.dao;

import com.vito.oa.email.model.OaEmailSignModel;

public interface OaEmailSignMapper {

	/**
	 * 保存签名
	 * @param emailSignModel
	 * @return
	 */
	public int saveEmailSign(OaEmailSignModel emailSignModel);
	/**
	 * 修改签名
	 * @param emailSignModel
	 * @return
	 */
	public int updateEmailSign(OaEmailSignModel emailSignModel);

	/**
	 * 根据用户id查询签名
	 * @param userId
	 * @return
	 */
	public OaEmailSignModel getEmailSignByUserId(String userId);
	
	/**
	 * 根据id查询
	 * @param id
	 * @return
	 */
	public OaEmailSignModel getEmailSignById(String id);

}
